import { View, Text } from "@tarojs/components";
import { useLoad } from "@tarojs/taro";
import "./index.scss";

import NavBar from "../../components/NavBar/index";

export default function Index() {
  useLoad(() => {
    console.log("Page loaded.");
  });

  return (
    <View className="IndexPage">
      <NavBar></NavBar>

      {Array.from({ length: 40 }).map((_item,index) => {
        return <View key={index}>Hello {index}</View>;
      })}
    </View>
  );
}
